<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>

<body>


    <input type="text" class="a">
    <input type="text" class="b">
    <button>注册</button>



    <script>

        const $ = ele => document.querySelector(ele);


        $('button').onclick = function () {
            const username = $('.a').value;
            const password = $('.b').value;

            ajax({
                type : 'post' ,
                data : {},
                path : '',
                
            })
        }



    </script>









    <!--  头部LOGO   截图-->
    <!-- <div class="too-logo center">
        <img src="" alt="">
    </div> -->

    <!--注册页面   -->
    <!-- <div class="wrap">
        <div class="form">
            <div class="top-text">
                <p class="p1">荣耀账号注册</p>
                <p>
                    已有账号,<a href="./login.html">去登录></a>
                </p>
            </div>
            <div class="input">
                <div class="input-d1">
                    <span>国家/地区</span>
                    <span>中国</span>
                </div>
                <div class="input-d2">
                    <span class="left"></span>
                   <input type="text" class="right"  placeholder="请输入手机号">
                </div>
                <div class="error">错误提示</div>
                <div class="input-d3">
                    <input type="text" class="left" placeholder="图形验证码">
                    <span class="right"></span>
                </div>
                <div class="error">错误提示</div>
                <div>
                    <input type="password" class="pwd" placeholder="密码">
                </div>
                <div class="error">错误提示</div>
                <div>
                    <input type="password" class="repwd" placeholder="确认密码">
                </div>
                <div class="error">错误提示</div>
                
            </div>
        </div>
    </div> -->

    <!--  底部  footer 截图 -->
    <!-- <div class="footer">
        <img src="" alt="">
    </div> -->



    var arr = [3,6,2,4,1,5];
    
</body>

</html>